﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Lidgren.Network;

namespace CodeGame.Networking.Clientside
{
    class ClientProtocolChat
    {

        public static void SendChatMessage(string message)
        {
            NetOutgoingMessage msg = Singletons.Network.CreateMessage(ClientServerNet.GlobalChat);
            msg.Write(message);
            Singletons.Network.SendMessage(msg);
        }

        
        internal static void SendPrivateMessage(string player, string str)
        {
            //NetOutgoingMessage msg = Singletons.Network.CreateMessage(ClientServerNet.PrivateChat);

            //msg.Write(player);
            //msg.Write(str);

            //Singletons.Network.SendMessage(msg);
        }
    }
}
